package com.codrim.cs.data.server.dao.param;

import java.util.List;

import lombok.Data;

@Data
public class ReportParam {
    private Integer companyId;
    private Integer startDate;
    private Integer endDate;
    private List<String> advIds;
    private List<String> affIds;
    private List<String> offerIds;
    private short reportType;
    private List<Integer> advAdvertiserManagerIdList;
    private List<Integer> advAffiliateManagerIdList;
    private List<Integer> affAdvertiserManagerIdList;
    private List<Integer> advAdvertiserManagerDepartmentIdListSelected;
    private List<Integer> advAffiliateManagerDepartmentIdListSelected;
    private Integer advAdvertiserManagerIdSelected;
    private Integer advAffiliateManagerIdSelected;
    private List<Integer> customerIdList;
    private short dataOwner;
    private Integer fromLine;
    private Integer rows;
    private Integer affAdvertiserManagerId;
    private List<Integer> affDepartmentIds;

    private Integer accessType;

    public enum DataOwner {
        Advertiser(DataOwner.ADVERTISER),
        Affiliate(DataOwner.AFFILIATE);
        public short key;
        public static final short ADVERTISER = 1;
        public static final short AFFILIATE = 2;

        DataOwner(short key) {
            this.key = key;
        }
    }
}
